<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2021/11/30
 * Time: 10:33
 */

namespace vendor\core;


class commonOrder extends order
{
    public function __construct()
    {
        echo '订单初始化成功!';
        echo '<br />';
    }
    public function createOrder()
    {
        echo '订单创建成功！！！';
        echo '<br />';
        echo '订单编号为:',$this->gengeralOrder();
        echo '<br />';
    }
    public function pay()
    {
        echo '起调微信支付接口<br />';
    }
    public function payback(){
        echo '微信支付回调<br />';
        parent::pay();
    }
    public function deleteOrder()
    {
        echo '订单删除成功！！！';
        echo '<br />';
    }
    public function __destruct()
    {
        echo '订单删除成功！！';
        echo '<br />';
    }
}